package com.ecoolex.hotel.saas.core.dao;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.ActivityShowStoreMapper;
import com.ecoolex.hotel.saas.entity.ActivityShowStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityShowStoreDAO extends ActivityShowStoreMapper {

    Long count(@Param("storeName") String storeName, @Param("activityId") Integer activityId);

    List<ActivityShowStore> query(@Param("storeName") String storeName, @Param("activityId") Integer activityId, @Param("page") Page page);
}